curl --request POST \
--url https://api.sophra.org/api/cortex/analytics/search \
--header 'Content-Type: application/json' \
--data '{
"query": "machine learning optimization",
"searchType": "hybrid",
"totalHits": 150,
"took": 234,
"sessionId": "sess_abc123",
"facets": {
"authors": [
"John Smith",
"Jane Doe"
],
"tags": [
"AI",
"ML"
],
"yearPublished": {
"min": 2020,
"max": 2024
},
"source": [
"arXiv",
"IEEE"
],
"selectedFilters": {
"contentType": "research-paper",
"language": "en",
"hasCode": true
}
}
}'
curl --request POST \
--url https://api.sophra.org/api/cortex/analytics/search \
--header 'Content-Type: application/json' \
--data '{
"query": "machine learning optimization",
"searchType": "hybrid",
"totalHits": 150,
"took": 234,
"sessionId": "sess_abc123",
"facets": {
"authors": [
"John Smith",
"Jane Doe"
],
"tags": [
"AI",
"ML"
],
"yearPublished": {
"min": 2020,
"max": 2024
},
"source": [
"arXiv",
"IEEE"
],
"selectedFilters": {
"contentType": "research-paper",
"language": "en",
"hasCode": true
}
}
}'
Search analytics logged successfully